package vip.denglei.company.model.workwechat;

/**
 * 企业微信相关token
 */
public class AccessToken {

    private int errcode;

    private String errmsg;

    private String access_token;

    private int expires_in;

    public void setErrcode(int errcode){
        this.errcode = errcode;
    }
    public int getErrcode(){
        return this.errcode;
    }
    public void setErrmsg(String errmsg){
        this.errmsg = errmsg;
    }
    public String getErrmsg(){
        return this.errmsg;
    }
    public void setAccess_token(String access_token){
        this.access_token = access_token;
    }
    public String getAccess_token(){
        return this.access_token;
    }
    public void setExpires_in(int expires_in){
        this.expires_in = expires_in;
    }
    public int getExpires_in(){
        return this.expires_in;
    }

    @Override
    public String toString() {
        return "AccessToken{" +
                "errcode=" + errcode +
                ", errmsg='" + errmsg + '\'' +
                ", access_token='" + access_token + '\'' +
                ", expires_in=" + expires_in +
                '}';
    }
}

